- 
		Home
	
- 
WooCommerce PayPal Payments
- 
2.0.2
- 
Code
- 
Classes
-  PurchaseUnit 
		
			
				
					
													
								
																			
											| Total Complexity | 40 | 
																			
											| Dependencies | 6 | 
																			
											| Dependents | 8 | 
																	
							 
													
								
																			
											| Total lines | 395 | 
																			
											| Lines of code | 173 | 
																			
											| Logical lines of code | 96 | 
																	
							 
													
								
																			
											| Comment lines | 157 | 
																			
											| Methods | 16 | 
																			
											| Properties | 11 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 16
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| ditch_items_when_mismatch() | B | 38 | 15 | 75 | 
					
				| to_array() | A | 47 | 9 | 36 | 
					
				| __construct() | S | 53 | 3 | 23 | 
					
				| amount() | S | 82 | 1 | 3 | 
					
				| set_amount() | S | 81 | 1 | 3 | 
					
				| shipping() | S | 82 | 1 | 3 | 
					
				| set_shipping() | S | 81 | 1 | 3 | 
					
				| reference_id() | S | 82 | 1 | 3 | 
					
				| description() | S | 82 | 1 | 3 | 
					
				| custom_id() | S | 82 | 1 | 3 | 
					
				| invoice_id() | S | 82 | 1 | 3 | 
					
				| soft_descriptor() | S | 82 | 1 | 3 | 
					
				| payee() | S | 82 | 1 | 3 | 
					
				| payments() | S | 82 | 1 | 3 | 
					
				| items() | S | 82 | 1 | 3 | 
					
				| contains_physical_goods() | S | 82 | 1 | 3 |